Bug in WAL backup documentation

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Bug in WAL backup documentation
Дата
Msg-id AC6FCC7BB26C6B4ACC1D2272@[172.26.14.247]
обсуждение исходный текст
Ответы Re: Bug in WAL backup documentation
Список pgsql-patches
Our WAL backup documentation says in some parts of it:

..."%p is replaced by the absolute path of the file to archive..." [1]

I think this is (at least for 8.1 and upcoming 8.2 releases) wrong, since
the archiver
replaces this with pg_xlog/<LOGFILENAME> only, so that the archive command
is invoked with the relative path to the database data directory and its
xlog files. This
applies to the restore_command as well. Attached is a small patch against
HEAD, which
will adjust things in the documentation.

[1]
http://www.postgresql.org/docs/8.1/interactive/backup-online.html#BACKUP-ARCHIVING-WAL

--
  Thanks

                    Bernd

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Micro-doc patch for CREATE FUNCTION
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug in WAL backup documentation